package com.sporadic.backstage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 餐桌类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("diningtable")
public class DiningTable {
    @TableId(value = "dt_id",type = IdType.AUTO)
    private Integer dtId;//餐桌主键
    @TableField("dt_number")
    private Integer dtNumber;//餐桌编号
    @TableField("dt_name")
    private String dtName;//餐桌名字
    @TableField("area_id")
    private Integer areaId;//餐桌区域所属编号
    @TableField("dt_status")
    private Integer dtStatus;//餐桌状态
    @TableField("dt_merchant")
    private Integer dtMerchant;//餐桌所属商家
    @TableField("peoplenum")
    private Integer peopleNum;//餐桌容纳人数

    private DiningTableStatus diningTableStatus;//餐桌状态类

    //餐桌区域
    private DiningArea diningArea;

}
